home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
oper_sys
/
choices
/
choicess.lha
/
README
< prev
next >
Wrap
Text File
|
1989-02-06
|
2KB
|
53 lines
This is the Choices Simulator. The files are grouped as follows:
Choices classes:
CPU.[ch]
Exception.[ch]
FIFOQueue.[ch]
Object.[ch]
Process.[ch]
ProcessContainer.[ch]
ProcessQueue.[ch]
SoftwareException.[ch]
Misc.:
Main.c - ``boot'' code. Can be customized/configured.
Name.[ch] - instance name construction.
Queue.[ch] - generic queue.
Semaphore.[ch] - user-level semaphore.
User.[ch] - user-level task manipulation.
Microtimeslicing:
Clock.[ch] - signal handler, etc.
Signal.h - hacked /usr/include/sys/signal.h. See the file.
Printing, debugging, etc.:
Assert.[ch] - conditionally compiled assertions.
Print.[ch] - coherent printing.
Debug.[ch] - conditionally cimpiled debug printing.
Work load:
Job.[ch] - work load. Initial Process entry point.
Building:
Makefile
MakeDepend - used by ``make depend.''
NOTES:
1. Function main() in Main.c is provided. It ``configures'' and
``boots'' the simulation. As provided, it will start a specified
number of Processes and a specified number of CPUs (with a common
central scheduler). Each initial Process is created so that it
begins execution at function Job() (defined in Job.c). Function
Job() creates the simulated workload. The one provided is just
a sample. It can/should be modified as desired. Also, main()
can be changed, if desired, to create different configurations.
2. The file Signal.h is a modified version of /usr/include/sys/signal.h.
The changes were to make the struct tags start with an upper case
letter to avoid name clashes. You should probably redo these
modifications for yourself, starting with your own
/usr/include/sys/signal.h.